package com.example.timepicker;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.example.timepicker.CallAlarmReceiver;
import com.example.timepicker.ItemDetails;

/**
 * Created by ASUS on 2017/2/15.
 */

public class AlarmReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        Intent intent1=new Intent(context, MusicActivity.class);
        intent1.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        context.startActivity(intent1);
    }
}
